package com.onesports.intelligent.k12.polarlight.domain.vo.course;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.ArrayTypeHandler;
import org.apache.ibatis.type.JdbcType;

/**
 * @author FPH
 * @since 2022年7月11日17:36:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDetailVo extends CourseVO{
    @ApiModelProperty("课程小图")
    private String imgUrl;

//    @TableField(value = "main_url",typeHandler = ArrayTypeHandler.class,jdbcType = JdbcType.ARRAY)
    @ApiModelProperty("课程主图")
    private String[] mainUrl;

    @ApiModelProperty("课程详情")
    private String courseDetail;
}
